YooKassa\Model\Receipt B

Total Complexity 81
Dependencies 10
Dependents 3
Total lines 430
Lines of code 227
Logical lines of code 125
Comment lines 142
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
normalize()
C
36 25 78
setSettlements()
A
53 8 22
setItems()
A
53 8 21
fromArray()
A
55 8 20
setTaxSystemCode()
S
56 6 17
getAmountValue()
S
65 4 9
getShippingAmountValue()
S
66 3 9
getCustomer()
S
72 2 6
addItem()
S
71 2 6
setEmail()
S
71 2 6
getEmail()
S
79 2 3
setPhone()
S
71 2 6
getPhone()
S
79 2 3
notEmpty()
S
80 1 3
setCustomer()
S
81 1 3
getTaxSystemCode()
S
82 1 3
addSettlement()
S
80 1 3
getSettlements()
S
82 1 3
getItems()
S
82 1 3
getObjectId()
S
82 1 3